* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
  margin-left: 25px;
}

.bear {
  position: absolute;
  top: 500px;
  left: 0;
  width: 200px;
  height: 100px;
  background: url(../images/bear.png) no-repeat;
  animation: bear-move 1.5s steps(8) infinite, move 8s forwards;
  z-index: 2;
}

.mound1 {
  position: absolute;
  left: 0;
  top: 300px;
  width: 100%;
  height: 330px;
  background: url(../images/bg1.png) no-repeat;
  animation: bear-move 9s linear infinite;
  z-index: 1;
}

.mound2 {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  height: 569px;
  background: url(../images/bg2.png) no-repeat;
  animation: bear-move 7s linear infinite;
}

/* 将小熊移动到页面中间，开始时为0,100%后距离左侧50%(-50%) */
@keyframes move {
  0% {
    left: 0;
  }

  100% {
    left: 50%;
    transform: translate(-50%);
  }
}

/* 小熊奔跑动画  通过动画来改变小熊背景图的位置*/
@keyframes bear-move {
  0% {
    background-position: 0;
  }

  100% {
    background-position: -1600px;
  }
}

.w {
  margin: 50px auto;
}

.login-main {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  /* background-color: pink; */
  border: 1px solid rgb(130, 165, 230);
  border-radius: 30px;
  z-index: 3;
}

.login-way {
  width: 350px;
  height: 42px;
  margin-bottom: 25px;
  /* background-color: blue; */
}
.login-way span {
  display: inline-block;
  width: 120px;
  margin-left: 30px;
}

.login-way span a {
  display: inline-block;
  margin: 0 42px 0 25px;
  width: 100px;
  height: 100%;
  color: #000;
  line-height: 42px;
  font-size: 18px;
  text-decoration: none;
}

.login-way .we-char a {
  color: #999;
}
.login-way .we-char {
  color: #999;
  border-bottom: 1px solid #87a3f0;
  display: inline-block;
  margin-right: 20px;
}
.login-way span:hover a {
  color: #999;
}

.login-way span:hover {
  color: #999;
  border-bottom: 1px solid #87a3f0;
  cursor: pointer;
}

.same-style input {
  width: 260px;
  height: 38px;
  padding-left: 12px;
  margin: 10px 0 0 30px;
  outline: none;
  font-size: 16px;
  border: 1px solid #87a3f0;
}
.same-style input::placeholder {
  color: #ccc;
}

.auto-login input {
  width: 15px;
  height: 15px;
  margin: 25px 0 0 30px;
}

.auto-login span {
  font-size: 14px;
  color: #000;
}

.login-btn button {
  width: 260px;
  height: 38px;
  margin: 15px 0 0 30px;
  border: none;
  color: #fff;
  font-size: 18px;
  text-align: center;
  background-color: #7d90e3;
  cursor: pointer;
}
.login-btn button:hover {
  background-color: #5f75d8;
}

.forget-reg {
  margin: 15px 0 0 30px;
}

.forget-reg a {
  font-size: 14px;
  color: #87a3f0;
  text-decoration: none;
}

.forget-reg .reg-new {
  float: right;
  margin-right: 25px;
}

.forget-reg a:hover {
  color: #333;
  text-decoration: underline;
}
